import OnlyRouter from '@/layout/OnlyRouter'
import HaveMenu from '@/layout/HaveMenu'
import { autoSCMain } from '@/router/mainRouter'

export const autoSCMap = [
  {
    path:'/AutoSC',
    component:HaveMenu,
    redirect: '/AutoSC/IndexPage',
    children:[...autoSCMain]
  }
]

export const userRouterMap = [
  {
    path: '/',
    redirect: '/user/login',
  },
  {
    path: '/user',
    component:OnlyRouter,
    redirect: '/user/login',
    children:[
      {
        path:'login',
        name:'login',
        component: () => import('@/views/user/Login')
      },
    ]
  }
] 